package com.jader.beans;

import java.io.Serializable;

public class LunTan_SuoYou_xianshi implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	LunTan_All_Bens lunTan_All_Bens = new LunTan_All_Bens();
	User userBens = new User();
	PriceBens priceBens = new PriceBens();

	public LunTan_SuoYou_xianshi() {
		super();
	}

	public LunTan_SuoYou_xianshi(LunTan_All_Bens lunTan_All_Bens,
			User userBens, PriceBens priceBens) {
		super();
		this.lunTan_All_Bens = lunTan_All_Bens;
		this.userBens = userBens;
		this.priceBens = priceBens;
	}

	public LunTan_All_Bens getLunTan_All_Bens() {
		return lunTan_All_Bens;
	}

	public void setLunTan_All_Bens(LunTan_All_Bens lunTan_All_Bens) {
		this.lunTan_All_Bens = lunTan_All_Bens;
	}

	public User getUserBens() {
		return userBens;
	}

	public void setUserBens(User userBens) {
		this.userBens = userBens;
	}

	public PriceBens getPriceBens() {
		return priceBens;
	}

	public void setPriceBens(PriceBens priceBens) {
		this.priceBens = priceBens;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((lunTan_All_Bens == null) ? 0 : lunTan_All_Bens.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		LunTan_SuoYou_xianshi other = (LunTan_SuoYou_xianshi) obj;
		if (lunTan_All_Bens == null) {
			if (other.lunTan_All_Bens != null)
				return false;
		} else if (!lunTan_All_Bens.equals(other.lunTan_All_Bens))
			return false;
		return true;
	}

}
